package com.gzhryc.shared_device.cdcz.code.dao.db;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.DateBranchTable;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;
import com.gzhryc.jdbc.enums.DateBranchTableType;

import java.io.Serializable;
import java.util.Date;

/**
 * 充电插座使用订单设备日志
 */
@DateBranchTable(type= DateBranchTableType.year)
@Table(name="cdcz_order_device_log")
public class CDCZOrderDeviceLog implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id(auto = false)
    @Column(name = "trade_no")
    protected String tradeNo;

    @Column(name = "charge_socket_sn", note = "插座序列号")
    protected String chargeSocketSn;

    @Column(name = "slot_num", length = 4, note = "使用卡槽")
    protected Integer slotNum;

    @Column(type = "TEXT")
    protected String content;

    @Column(name = "create_date")
    protected Date createDate;

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getChargeSocketSn() {
        return chargeSocketSn;
    }

    public void setChargeSocketSn(String chargeSocketSn) {
        this.chargeSocketSn = chargeSocketSn;
    }

    public Integer getSlotNum() {
        return slotNum;
    }

    public void setSlotNum(Integer slotNum) {
        this.slotNum = slotNum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
